<?php
class Orders extends EMongoDocument {
	public $store_id = "";
	public $customer_id = "";
	public $products = array();
	public $description = "";
	public $delivery_address = "";
	public $created_date = "";
	
	public static function model($className=__CLASS__){
		return parent::model($className);
	}

	// This method is required!
	public function getCollectionName(){
		return 'tbl_orders';
	}

	public function rules(){
		$rules = array();
		return $rules;
	}

}
?>